package com.lineage.server.timecontroller;

import com.lineage.server.model.Instance.L1PcInstance;
import com.lineage.server.thread.GeneralThreadPool;
import com.lineage.server.world.World;
import com.lineage.william.ArmorSkillSound;
import java.util.Iterator;
import java.util.TimerTask;

public class ArmorEffect extends TimerTask {
  public ArmorEffect() {
    GeneralThreadPool.get().scheduleAtFixedRate(this, 0L, 15000L);
  }
  
  public void run() {
    Iterator<L1PcInstance> iterator = World.get().getAllPlayers().iterator();
    while (iterator.hasNext()) {
      L1PcInstance pc = iterator.next();
      ArmorSkillSound.forArmorSkillSound(pc);
    } 
  }
}
